<%@ page language="java" pageEncoding="UTF-8"%>

<%
	String userId = (String)request.getAttribute("userId");
	if("null".equals(userId) || "".equals(userId) || userId == null){
		response.sendRedirect("login.jsp");
		return;
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>个人知识库--首页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	
	<link href="css/kang/base.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/header.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/left.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/tags.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/reminder.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/myhome.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/feed.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/composer.css" rel="stylesheet" type="text/css"/>
	<link href="css/kang/fList.css" rel="stylesheet" type="text/css"/>
	
	<script type="text/javascript" src="js/jquery.js"></script>
	<script>
		function hiddenDiv(table,id){
			var obj = document.getElementById(table + id);
			$(obj).slideUp();
			
			$.post("delHome.action",{table:table,id:id});
		}
		
		function hiddenAppCount(){
			$("#applyCount").slideUp();
		}
		
		function tagToggle(){
			var tags = $("#tags");
			if(tags.is(":visible")){
				tags.slideUp();
			}else{
				tags.slideDown();
			}
		}
	</script>
  </head>
  
  <body class="home">
  <center>
	<div style="width:980px;">
  	 	<jsp:include page="header.jsp"></jsp:include>
  		<div style="width:980px;height:auto;">
  			<div style="width:245px;height:100px;position:relative;float:right;right:0px;">
  				<jsp:include page="panel/homePanel/fList.jsp"></jsp:include>
    		</div>
  			<div id="homeleft">
    			<jsp:include page="panel/homePanel/left.jsp"></jsp:include>
    			<jsp:include page="panel/homePanel/tags.jsp"></jsp:include>
    		</div>
    		<div style="width:550px;height:auto;position:relative;float:left;left:5px;">
    			<jsp:include page="panel/homePanel/reminder.jsp"></jsp:include>
    			<div style="clear:both;"></div>
    			<jsp:include page="panel/homePanel/composer.jsp"></jsp:include>
    			<div style="clear:both;"></div>
    			<jsp:include page="panel/homePanel/newReplyList.jsp"></jsp:include>    			
    			<div style="clear:both;"></div>
    			<jsp:include page="panel/homePanel/newsList.jsp"></jsp:include>
    		</div>		
    	</div>    	
    </div>
    <div style="clear:both"></div>
   	 <jsp:include page="footer.jsp"></jsp:include>
  </center>
  </body>
</html>
